package com.woniuxy.sales.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @TableName products
 */
@TableName(value ="products")
@Data
public class Products implements Serializable {

    @TableId
    private Integer productId;  //车辆id

    private Integer categoryId;  //车辆类型id

    private String name;   //车辆名字

    private String description;  //车辆描述

    private BigDecimal price;  //车辆价格

    private Integer stock;  //车辆库存

    private Date createdDate;  //车辆上线时间

    private String imgs;  //车辆图片

    private BigDecimal fuelConsumption;  //车辆油耗

    private Integer maxSpeed;  //车辆最高速度

    private BigDecimal acceleration;  //车辆加速度

    private String energy; //车辆能源

    private Integer seatCount;  //车辆座位数

    private Integer deleted;  //车辆是否删除

    private static final long serialVersionUID = 1L;
}